# -*-coding:utf-8 -*-
import pathlib

DEBUG = False

KAFKA = {
    'GROUP_ID': 'test-gnss',
    'SERVERS': [
        'kafka.i.123yb.cn:9092',
    ],
    'TOPICS': [
        'truck_gps_data',
        'truck_ed_data',
        'truck_online_data',
    ],
}

MONGO = {
    'HOST': '47.103.56.184',
    'PORT': 27017,
    'USER': 'gps',
    'PASSWORD': 'sahng1Teibe4Beiv',
    'DB': 'gps',
}

MONGO['URL'] = 'mongodb://{USER}:{PASSWORD}@{HOST}:{PORT}/{DB}'.format(**MONGO)

MEDIA_UPLOADS_PATH = str(pathlib.Path.home()) + '/projects/gnss/uploads'
